package com.greenentity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by admin on 2018/5/29.
 * 检查项
 */
@Entity
public class Inspect {

    /**
     * tplItemId : 9
     * sortNo : 1
     * itemId : 1
     * itemGuid : 833d0bca-9d28-43de-b9d7-ec4f7dac9ebc
     * recordMode : 1
     * content : 50度以上不正常
     * tourItem : 主变油温是否正常
     * unitGuid : 6f9f909f-70c7-4649-9c96-9cbe38ef2080
     */
    @Id
    private Long itemId;
    private Long tplItemId;
    private int sortNo;
    private String itemGuid;
    private String recordMode;
    private String content;
    private String tourItem;
    private String unitGuid;
    private String markTime;
    private String markValue;
    private String conclusion;
    private int complete = 0;//0-未完成，1-完成
    private int defectCount = 0;//缺陷数量


    @Generated(hash = 428089817)
    public Inspect(Long itemId, Long tplItemId, int sortNo, String itemGuid,
            String recordMode, String content, String tourItem, String unitGuid,
            String markTime, String markValue, String conclusion, int complete,
            int defectCount) {
        this.itemId = itemId;
        this.tplItemId = tplItemId;
        this.sortNo = sortNo;
        this.itemGuid = itemGuid;
        this.recordMode = recordMode;
        this.content = content;
        this.tourItem = tourItem;
        this.unitGuid = unitGuid;
        this.markTime = markTime;
        this.markValue = markValue;
        this.conclusion = conclusion;
        this.complete = complete;
        this.defectCount = defectCount;
    }

    @Generated(hash = 1505544833)
    public Inspect() {
    }


    public String getMarkTime() {
        return markTime;
    }

    public void setMarkTime(String markTime) {
        this.markTime = markTime;
    }

    public String getMarkValue() {
        return markValue;
    }

    public void setMarkValue(String markValue) {
        this.markValue = markValue;
    }

    public String getConclusion() {
        return conclusion;
    }

    public void setConclusion(String conclusion) {
        this.conclusion = conclusion;
    }

    public int getComplete() {
        return complete;
    }

    public void setComplete(int complete) {
        this.complete = complete;
    }

    public Long getTplItemId() {
        return tplItemId;
    }

    public void setTplItemId(Long tplItemId) {
        this.tplItemId = tplItemId;
    }

    public int getSortNo() {
        return sortNo;
    }

    public void setSortNo(int sortNo) {
        this.sortNo = sortNo;
    }

    public Long getItemId() {
        return itemId;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public String getItemGuid() {
        return itemGuid;
    }

    public void setItemGuid(String itemGuid) {
        this.itemGuid = itemGuid;
    }

    public String getRecordMode() {
        return recordMode;
    }

    public void setRecordMode(String recordMode) {
        this.recordMode = recordMode;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTourItem() {
        return tourItem;
    }

    public void setTourItem(String tourItem) {
        this.tourItem = tourItem;
    }

    public String getUnitGuid() {
        return unitGuid;
    }

    public void setUnitGuid(String unitGuid) {
        this.unitGuid = unitGuid;
    }

    public int getDefectCount() {
        return this.defectCount;
    }

    public void setDefectCount(int defectCount) {
        this.defectCount = defectCount;
    }
}
